package cn.exrick.xboot.modules.commonLink.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Exrick
 */
@Data
@Entity
@Table(name = "t_common_link")
@TableName("t_common_link")
@ApiModel(value = "常用链接")
public class CommonLink extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "地址")
    private String url;
    @ApiModelProperty(value = "部门")
    private String department;
}